curl --request POST \
--url https://app.pennylane.com/api/external/v2/e-invoices/imports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form type=customer \
--form file=@example-file
{
"url": "<string>"
}
This endpoint allows you to import an e-invoice.
ℹ️ This endpoint requires one of the following scopes:
e_invoices:all
curl --request POST \
--url https://app.pennylane.com/api/external/v2/e-invoices/imports \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form type=customer \
--form file=@example-file
{
"url": "<string>"
}
The access token received from the authorization server in the OAuth 2.0 flow.
E-invoice imported successfully
The response is of type object
.
Was this page helpful?